<!--  -->
<template>
    <!-- <div>ce</div> -->
    <component  :is="currentLogin"></component>
</template>

<script lang='ts'>
import { Component, Vue } from 'vue-property-decorator'
import { OemModule } from '@/store/modules/oem'
import OemIndex from './oem/index.vue'
import Login from './login.vue'
@Component({ name: 'LoginIndex', components: { OemIndex, Login } })
export default class LoginIndex extends Vue {
  public $options: any
  public currentLogin = OemModule.oemFlag ? 'OemIndex' : 'Login'
  public mounted () {
    // const loadingPane: any = document.getElementById('v7_body')

    // if (OemModule.oemFlag) {
    //   this.currentLogin = 'Login'
    // } else {
    //   this.currentLogin = 'Login'
    // }
  }
}
</script>
<style lang='stylus' scoped>
</style>
